package com.mzpai.product.util;

import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import com.mzpai.product.vo.StoreProductSupplierDto;

public class StoreProductSupplierHandlerUtil {

	
	// 按是否复制排序 List<StoreProductSupplierDto> listStoreProductSupplier
    public static List<StoreProductSupplierDto> sortList(List<StoreProductSupplierDto> logsList){
        Collections.sort(logsList, new Comparator<StoreProductSupplierDto>() {
            @Override
            public int compare(StoreProductSupplierDto o1, StoreProductSupplierDto o2) {
                return o1.getCopyFlage().compareTo(o2.getCopyFlage());
            }
        });
        return logsList;
    }
    
    
}
